<template>
    <div>
        <van-nav-bar title="确认订单" left-text="返回" right-text="按钮" left-arrow @click-left="onClickLeft"
            @click-right="onClickRight" />
        <van-address-list v-model="chosenAddressId" :list="list" :disabled-list="disabledList" default-tag-text="默认"
            @add="onAdd" @edit="onEdit" style="height: 45px;" />

        <van-card num="2" price="2.00" desc="描述信息" title="商品标题"
            thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg">
            <template #tags>
                <van-tag plain type="primary">标签</van-tag>
                <van-tag plain type="primary">标签</van-tag>
            </template>
            <template #footer>
                <van-button size="mini">按钮</van-button>
                <van-button size="mini">按钮</van-button>
            </template>
          
        </van-card>
          <van-cell-group inset>
                <van-cell title="配送" value="京东超市" label="8月1日[周四]09:00-15:00" />
            </van-cell-group>
        <van-cell-group inset>
            <van-cell title="商品金额" value="￥59.40" />
            <van-cell title="运费(总重：0.462kg)" value="￥6.00" />
            <van-cell title="立减" value="-￥17.82" />
            <!-- 优惠券单元格 -->
            <van-coupon-cell :coupons="coupons" :chosen-coupon="chosenCoupon" @click="showList = true" />
         
        </van-cell-group>
        <img src="./img/zx.png" alt="" style="width: 100%;">

    </div>
</template>

<script setup>
const list = [
    {
        id: '1',
        name: '刘德华',
        tel: '183****8064',
        address: '北京朝阳望京街道 南湖中园253号楼—2单元502',
        isDefault: true,
    },
]
 

 
</script>

<style lang="scss" scoped></style>